// 组件
import {TabCom} from '../../custom/tab/Tab'
import {TabCom2} from '../../custom/tab2/Tab2'
import NotData from '../../custom/notData'
import Blast from '../../custom/blast/Blast'

/**
 * id: 匹配设置参数中的ID
 * key: 用来切换组件
 * */ 
export const compoentArr = [
  {id: 'custom_1', key: 'customComponent1', component: TabCom, noData: NotData},
  {id: 'custom_2', key: 'customComponent2', component: Blast, noData: NotData},
]

export const compoentObj = {
  custom_1:{
    id: 'custom_1',
    key: 'customComponent1', 
    component: TabCom,
    noData: TabCom2,
  },
  custom_2:{
    id: 'custom_2',
    key: 'customComponent2', 
    component: Blast,
    noData: NotData,
  }
}